<%- include('header.html') -%>
<!-- technology-left -->
<div class="technology">
    <div class="container">
        <div class="col-md-9 technology-left">
            <div class="tech-no">
                <div class="wthree" style="background:#333;padding: 1em;">
                    <div class="col-md-12 wthree-right wow fadeInDown"  data-wow-duration=".8s" data-wow-delay=".2s" >
                        <h2 class="mb-4" style="color:#fff">（搜索词:<%= keyword %>）搜索结果</h2>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <!-- technology-top -->
                <% articles.forEach(article =>{ %>
                <div class="wthree">
                    <div class="col-md-12 wthree-right wow fadeInDown"  data-wow-duration=".8s" data-wow-delay=".2s">
                        <h3><a href="/article/<%=article.id%>"><%= article.title %></a></h3>
                        <h6>作者： <a href="singlepage.html"><%= article.author %> </a><%= article.time.toLocaleString() %></h6>
                        <div class="content"><%= article.content.replace(/<[^>]+>/g,'').substring(0,50) %>...</div>
                        <div class="bht1">
                            <a href="/article/<%=article.id%>">Read More</a>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="clearfix"></div>
                </div>
                <% }); %>
            </div>
            <!-- 分页 -->
            <!-- <nav class="paging">
                <ul class="pagination pagination-lg">
                    <li><a href="#" aria-label="Previous"><span aria-hidden="true">&lt;&lt;</span></a></li>
                    <li><a href="#">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li><a href="#" aria-label="Next"><span aria-hidden="true">&gt;&gt;</span></a></li>
                </ul>
            </nav> -->
        </div>
        <!-- technology-right -->
        <%- include('right.html') -%>
        <!-- technology-right -->
    </div>
    
</div>
<!-- 引入尾部 -->
<%- include('footer.html') -%>

